package com.efast.dmom.mes.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.efast.dmom.mes.bean.Mbom;
import com.efast.dmom.mes.bean.ResultBean;
import com.efast.dmom.mes.datahandlers.entity.MbomDataHandler;
import com.efast.dmom.mes.service.MbomService;

@Component
public class MbomServiceImpl implements MbomService{
	@Autowired
	private MbomDataHandler mbomDataHandler;
	
	@Override
	public ResultBean save(Mbom obj) {
		
		ResultBean save = mbomDataHandler.save(obj);
		return save;
	}

	@Override
	public ResultBean delete(Mbom entity) {

		return null;
	}

	@Override
	public ResultBean update(Mbom entity) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public ResultBean save(List<Mbom> list) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public ResultBean update(List<Mbom> list) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public ResultBean delete(List<Mbom> list) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Mbom getById(long id) {
		// TODO Auto-generated method stub
		return null;
	}

}
